﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

using ZhimeiSoft.CharmManager.DOL;

namespace ZhimeiSoft.CharmManager.Server.BLL.Interface
{
    /// <summary>
    /// 预约管理
    /// </summary>
    public interface IScheduleBLL
    {
        /// <summary>
        /// 插入预约记录
        /// </summary>
        /// <param name="scheduleInfo">信息类</param>
        void InsertSchedule(DBEntitySchedule scheduleInfo);
        /// <summary>
        /// 删除一条预约记录
        /// </summary>
        /// <param name="scheduleInfo">信息类</param>
        void DeleteSchedule(DBEntitySchedule scheduleInfo);
        /// <summary>
        /// 更新一条预约记录
        /// </summary>
        /// <param name="scheduleInfo">信息类</param>
        void UpdateSchedule(DBEntitySchedule scheduleInfo);
        /// <summary>
        /// 按照预约状态获取记录
        /// </summary>
        /// <param name="scheduleState">预约状态</param>
        /// <returns>返回数据</returns>
        DataSet QueryScheduleState(string scheduleState);
    }
}
